BMI\Plugin\BMI_Ajax D

Total Complexity 1,321
Dependencies 32
Dependents 1
Total lines 5,947
Lines of code 4,345
Logical lines of code 3,526
Comment lines 416
Methods 88
Properties 10

Methods 88

Method Rating Maintainability Complexity Lines of code
downloadCloudBackup()
D
0
125 590
__construct()
D
16
85 176
saveStorageConfig()
D
17
79 192
prepareAndMakeBackup()
D
14
75 228
scanFilesForBackup()
D
18
76 180
parseFilesForBackup()
D
18
76 176
restoreBackup()
D
16
69 218
saveOtherOptions()
D
20
63 171
saveFilesConfig()
D
24
47 151
downloadCloudBackupV2()
D
22
42 178
createBackup()
D
32 43 86
sendTroubleshootingDetails()
D
23
37 167
handleQuickMigration()
D
26
31 146
calculateCron()
C
33 26 91
connectToConfig()
C
32 23 111
migrationExceptionHandler()
C
34 25 81
verifyGDriveConnection()
C
34 23 85
removeBackupFile()
B
37 23 66
forceRestoreToStop()
B
39 22 56
backupErrorHandler()
B
38 21 63
forceBackupToStop()
B
41 19 48
saveAWSConfig()
B
42 17 43
saveStorageTypeConfig()
A
42 14 45
dismissErrorNotice()
A
44 14 43
checkStagingLocalName()
A
41 13 52
frontEndAjaxError()
A
45 12 37
downloadFile()
A
43 10 47
saveWasabiConfig()
A
48 11 27
resetLatestLogs()
A
44 10 40
checkIfPHPCliExist()
A
46 10 37
isMigrationLocked()
A
50 10 25
rrmdir()
A
55 9 19
tastewpStagingCreation()
A
55 8 17
actionsAfterProcess()
A
56 8 16
shareDomainForAutoCron()
S
50 7 26
debugging()
S
51 7 23
cleanUpAfterError()
S
55 7 20
removeGDriveConnection()
S
49 6 30
checkDiskSpace()
S
49 6 29
manuallyEnqueueUpload()
S
55 6 18
getLatestBackupFile()
S
52 5 24
isRunningBackup()
S
56 5 16
sendTestMail()
S
59 5 13
makeBackupName()
S
45 3 39
getGDriveToken()
S
55 4 17
toggleBackupLock()
S
57 4 15
startLocalStagingCreation()
S
59 4 13
localStagingCreationProcess()
S
59 4 13
logSharing()
S
61 4 12
dirSize()
S
53 3 21
backupBrowserMethodHandler()
S
55 3 18
getDynamicNames()
S
57 3 17
siteURL()
S
69 4 5
verifyAWSConnection()
S
58 2 16
verifyWasabiConnection()
S
58 2 16
getGDriveConnectionStatus()
S
66 3 8
revertUnameProcess()
S
64 3 9
isFunctionEnabled()
S
68 3 6
stopBackup()
S
63 3 10
isStagingSiteCreationOngoing()
S
66 3 8
resetConfiguration()
S
62 2 12
keepDropboxToken()
S
62 2 11
keepGDriveToken()
S
62 2 11
fixUnameFunction()
S
61 2 11
randomString()
S
65 2 8
migrationErrorHandler()
S
63 2 10
backupExceptionHandler()
S
63 2 10
checkCompatibility()
S
66 2 7
disconnectFtp()
S
65 1 9
getDropboxToken()
S
70 1 6
verifyDropboxConnection()
S
73 1 5
disconnectDropboxToken()
S
63 1 10
disconnectGDriveToken()
S
66 1 8
dismissDropboxNotice()
S
75 1 4
disconnectAWS()
S
70 1 6
disconnectWasabi()
S
70 1 6
getDatabaseSize()
S
66 1 8
fixLitespeed()
S
76 1 4
revertLitespeed()
S
76 1 4
continueRestoreProcess()
S
91 1 2
getBackupsList()
S
69 1 6
handleChunkUpload()
S
80 1 3
getSiteData()
S
69 1 6
stagingSitesGetList()
S
69 1 6
stagingRename()
S
67 1 7
stagingPrepareLogin()
S
69 1 6
stagingDelete()
S
69 1 6
clickedOnPluginReview()
S
80 1 3